package com.security.door.model.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import javax.persistence.Id;
import java.util.Date;

@Data
public class visitorTrip {
    @Id
    private String guid;

    private String title;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date starttime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    private Boolean allday;

    private String backgroundcolor;

    private String bordercolor;

    private String classname;

    private String devicecode;

    private String persioncode;

    private String phone;

    private String creater;

    private Date createtime;
}